package com.app.vo.req;

import com.app.config.annotation.FrontName;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class LoginReq {
    @NotBlank
    @Length(min = 2, max = 32)
    @FrontName("用户名")
    private String username;

    @Length(min = 2, max = 32)
    @FrontName("密码")
    private String password;
}
